package com.easydemo.easy.controller;

import com.easydemo.easy.domain.AppUser;
import com.easydemo.easy.service.AppUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @author :ZhengHao
 * @version :1.0
 * @since :2024-12-27  20:37
 */
@Controller("/appUser")
public class AppUserController {

    @Autowired
    private AppUserService appUserService;
    @GetMapping("/getAllAppUser")
    public List<AppUser> getAllAppUser(){
        return appUserService.selectAllAppUser();
    }
}
